import { Entity, Column, PrimaryGeneratedColumn,ManyToMany, ManyToOne, JoinColumn, OneToOne , BaseEntity, OneToMany } from 'typeorm';

@Entity('wx_user_openid')
export class WxUserOpenId extends BaseEntity {
  @PrimaryGeneratedColumn()
  id: number;

  @Column({ name: 'appid' })
  appid: string;

  @Column({ name: 'unionid' })
  unionid: string;

  @Column({name: 'openid'})
  openid: string;

  @Column({ name: 'create_time' })
  create_time: Date;
}